package com.goldcn.template.utils;

public class Field {
    //字段名
    private String fieldName;

    //字段类型
    private String fieldType;

    //字段注释
    private String fieldRemarks;

    //字段名首字母大写
    private String fieldNameUpperFirstLetter;

    //是否是查询字段  true:是查询字段
    private boolean queryFlag;


    //查询管理  查询条件拼接 例如：= like < >等等
    // private MatchType matchType; , MatchType matchType


    public Field() {
    }

    public Field(String fieldName, String fieldType, String fieldRemarks, boolean queryFlag) {
        this.fieldName = fieldName;
        this.fieldType = fieldType;
        this.fieldRemarks = fieldRemarks;
        this.fieldNameUpperFirstLetter = fieldName; // Generator.upperFirstLetter(fieldName);
        this.queryFlag = queryFlag;
        //  this.matchType = matchType;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public String getFieldType() {
        return fieldType;
    }

    public void setFieldType(String fieldType) {
        this.fieldType = fieldType;
    }

    public String getFieldRemarks() {
        return fieldRemarks;
    }

    public void setFieldRemarks(String fieldRemarks) {
        this.fieldRemarks = fieldRemarks;
    }

    public String getFieldNameUpperFirstLetter() {
        return fieldNameUpperFirstLetter;
    }

    public void setFieldNameUpperFirstLetter(String fieldNameUpperFirstLetter) {
        this.fieldNameUpperFirstLetter = fieldNameUpperFirstLetter;
    }

    public boolean isQueryFlag() {
        return queryFlag;
    }

    public void setQueryFlag(boolean queryFlag) {
        this.queryFlag = queryFlag;
    }


}
